package com.pi.pro.xcmg.am.was.edi.wcs.dto;





import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 *  站台状态
 */
@Getter
@Setter
public class EPalletRequestData implements Serializable {

    //Code	站点编码	String			Y
    @JsonProperty("Code")
    private String code;

    //Type	托盘类型	String			Y	1：铁料箱     2：铁托盘
    @JsonProperty("Type")
    private String type;

    // Quantity	数量	int			N
    @JsonProperty("Quantity")
    private Integer quantity;

    public String toString() {
        StringBuffer buf = new StringBuffer();
        buf.append("{");
        //
        buf.append("Code:");
        if (this.code != null) {
            buf.append(this.code);
        } else {
            buf.append("");
        }
        buf.append(",");
        //
        buf.append("Type:");
        if (this.type != null) {
            buf.append(this.type);
        } else {
            buf.append("");
        }
        buf.append(",");
        //
        buf.append("Quantity:");
        if (this.quantity != null) {
            buf.append(String.valueOf(quantity));
        } else {
            buf.append("");
        }
        buf.append("");
        buf.append("}");
        return buf.toString();
    }
}
